﻿using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Threading.Tasks;

namespace Ordering.API.Application.Commands
{
    public class CompletedOrderCommand :  IRequest<bool>
    {
        [DataMember]
        public string OrderNO { get; private set; }

        [DataMember]
        public string UserCode { get; private set; }
        public CompletedOrderCommand(string orderNo, string userCode)
        {
            this.OrderNO = orderNo;
            this.UserCode = userCode;
        }
    }
}
